import Vue from 'vue';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import App from './App';
import JsonViewer from '../../node_modules/vue-json-viewer/dist/vue-json-viewer.js';
import router from './router';
import store from './store';
import global_ from './config/config.js';
if (!process.env.IS_WEB) {
  Vue.use(require('vue-electron'));
}
Vue.prototype.GLOBAL = global_;
Vue.config.productionTip = false;
Vue.use(ElementUI);
Vue.use(require('./assets/ionicons/css/ionicons.min.css'));

Vue.use(JsonViewer);
new Vue({
  components: { App },
  router,
  store,
  template: '<App/>',
}).$mount('#app');

